all:udpserver udpclient
udpserver:Main.cpp
	g++ -o $@ $^ -std=c++11
udpclient:UdpClient.cpp	
	g++ -o $@ $^ -std=c++11 -lpthread
.PHONY:clean
clean: 
	rm -f udpserver udpclient